package com.bjpowernode.edu.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bjpowernode.edu.domain.TCompany;
import com.bjpowernode.edu.service.TCompanyService;
import com.bjpowernode.edu.mapper.TCompanyMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import sun.invoke.util.Wrapper;

import java.util.List;

/**
 *
 */
@Service
public class TCompanyServiceImpl extends ServiceImpl<TCompanyMapper, TCompany>
    implements TCompanyService{
    @Autowired
    private TCompanyMapper companyMapper;

    @Override
    public List<TCompany> selectAll() {

        List<TCompany> list = companyMapper.listAll();
        return list;
    }
}




